<template>
	<view class="statepage">
		<view class="cont">
			<image v-if="text=='暂无优惠券'" class="img" src="../../static/imges/yhj.png" mode="widthFix"></image>
			<image v-else class="img" src="../../static/imges/sou.png" mode="widthFix"></image>
			<text class="text">{{text&&text!=''?text:'暂无数据'}}</text>
		</view>
	</view>
</template>

<script>
	export default {
		props: ['imgUrl', 'text'],
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	.statepage{
		padding: 25% 0;
		.cont {
			text-align: center;
			.img {
				width: 330rpx;
				height: 330rpx;
			}
			.text {
				display: block;
				font-size: 32rpx;
				height: 30rpx;
				line-height: 30rpx;
				color: #ccc;
			}
		}
	}
</style>
